import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {HyProjectSelectAlainComponent} from './hy-project-select-alain.component';
import {DelonFormModule, WidgetRegistry} from '@delon/form';
import {FormsModule} from '@angular/forms';
import {HyProjectSelectModule} from '../hy-project-select/hy-project-select.module';


@NgModule({
    declarations: [HyProjectSelectAlainComponent],
    imports: [
        CommonModule,
        DelonFormModule,
        HyProjectSelectModule,
        FormsModule
    ],
    exports: [HyProjectSelectAlainComponent],
    entryComponents: [HyProjectSelectAlainComponent]
})
export class HyProjectSelectAlainModule {
    constructor(widgetRegistry: WidgetRegistry) {
        widgetRegistry.register(HyProjectSelectAlainComponent.KEY, HyProjectSelectAlainComponent);
    }
}
